package com.platform.service;

import com.platform.dao.ApiSearchHistoryMapper;
import com.platform.dao.ApiShippingMapper;
import com.platform.entity.ShippingVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class ApiShippingService {
    @Autowired
    private ApiShippingMapper apiShippingMapper;


    public ShippingVo queryObject(Integer id) {
        return apiShippingMapper.queryObject(id);
    }


    public List<ShippingVo> queryList(Map<String, Object> map) {
        return apiShippingMapper.queryList(map);
    }


    public int queryTotal(Map<String, Object> map) {
        return apiShippingMapper.queryTotal(map);
    }


    public void save(ShippingVo region) {
        apiShippingMapper.save(region);
    }


    public void update(ShippingVo region) {
        apiShippingMapper.update(region);
    }


    public void delete(Integer id) {
        apiShippingMapper.delete(id);
    }


    public void deleteBatch(Integer[] ids) {
        apiShippingMapper.deleteBatch(ids);
    }

}
